package com.operate.api.app.pay.service;





import com.alibaba.fastjson.JSONObject;
import com.alipay.api.AlipayApiException;
import com.operate.api.app.pay.domain.vo.ApplePayVO;
import com.operate.api.app.pay.domain.vo.RechargeRVO;
import com.operate.api.app.pay.domain.vo.RechargeVO;
import com.operate.api.base.R;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

public interface IPayService {


    void al_callback(HttpServletRequest request, HttpServletResponse response) throws IOException, AlipayApiException;

    void wx_callback(HttpServletRequest request, HttpServletResponse response);


    RechargeRVO addRecharge(RechargeVO rechargeVO) ;

    R getAppPay(String states, JSONObject job, String transactionID, HttpServletRequest request, ApplePayVO applePayVo);

}
